Skip to content

Remove legacy discovery tools list_estimators, search_estimators in favour of new tools query_registry, describe_component#463

Open
Shashankss1205 wants to merge 4 commits into
mainfrom
feature/remove-legacy-discovery-tools
Open

Remove legacy discovery tools list_estimators, search_estimators in favour of new tools query_registry, describe_component#463
Shashankss1205 wants to merge 4 commits into
mainfrom
feature/remove-legacy-discovery-tools

Conversation

@Shashankss1205

@Shashankss1205 Shashankss1205 commented May 30, 2026

Copy link
Copy Markdown
Collaborator

Reference Issues/PRs

Fixes #461

Independence: This PR is rebased on latest main and does not depend on any other open PR. It can be merged on its own.

What does this implement/fix? Explain your changes.

This pull request removes the legacy discovery tools (list_estimators, search_estimators, describe_estimator, and get_available_tags) and routes discovery through unified replacements:

  • query_registry — unified registry search (estimators, tags, metrics)
  • describe_component — detailed info for any sktime component class

Changes:

  • Removed legacy tool registration and routing from server.py
  • Renamed describe_estimator.pydescribe_component.py
  • Updated list_estimators.py internals used by query_registry
  • Updated tests in tests/test_core.py and tests/test_discovery_consolidated.py
  • Updated docs in README.md, docs/source/implementation.md, docs/source/usage-examples.md

Does your contribution introduce a new dependency? If yes, which one?

No.

What should a reviewer concentrate their feedback on?

  • Verify query_registry and describe_component work for estimators, tags, and pagination
  • Confirm no legacy discovery tool names remain in production routing paths

Any other comments?

Rebased on latest main. make check passes locally.

PR checklist

For all contributions
  • I've added unit tests and made sure they pass locally (make check).
  • I've added the tool to the online documentation in docs/source/.

@Shashankss1205 Shashankss1205 changed the title Remove legacy discovery tools list_estimators, search_estimators, des… Remove legacy discovery tools list_estimators, search_estimators May 30, 2026
@Shashankss1205 Shashankss1205 mentioned this pull request Jun 1, 2026
6 tasks
@Shashankss1205 Shashankss1205 self-assigned this Jun 1, 2026

@fkiraly fkiraly left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, this looks like an improvement.

However, can you please make sure to include docstrings to all important functions and classes? Please have a look how sktime does this. Preferably in the same numpydoc adjacent style that sktime uses.

Otherwise, it becomes really hard to review changes, especially if they are subtle changes.

E.g., I have the question what the new target variable means and which values it can assume, but there is no piece of documentation that would tell me.

@Shashankss1205

Copy link
Copy Markdown
Collaborator Author

@fkiraly thanks for the feedback, I will try updating all of the PRs with the suitable doc strings to let the maintainers understand the pieces of code easily...

@Shashankss1205 Shashankss1205 force-pushed the feature/remove-legacy-discovery-tools branch from 4210aa1 to 398213e Compare June 4, 2026 19:58
@Shashankss1205 Shashankss1205 requested a review from fkiraly June 4, 2026 20:04
@Shashankss1205 Shashankss1205 force-pushed the feature/remove-legacy-discovery-tools branch from 58dbd7b to fa67c43 Compare June 7, 2026 10:10
@Shashankss1205 Shashankss1205 changed the title Remove legacy discovery tools list_estimators, search_estimators Remove legacy discovery tools list_estimators, search_estimators in favour of new tools query_registry, describe_component Jun 7, 2026
@Shashankss1205 Shashankss1205 force-pushed the feature/remove-legacy-discovery-tools branch 2 times, most recently from ebb9548 to cf98e76 Compare June 12, 2026 09:42
Shashankss1205 and others added 4 commits June 12, 2026 15:20
…cribe_estimator, get_available_tags in favor of unified query_registry and describe_component everywhere
Add accurate query_registry and describe_component tool schemas in server.py,
document that tag values are typed (not all boolean), and remove the
redundant hyperparameters key from describe_component responses.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Shashankss1205 Shashankss1205 force-pushed the feature/remove-legacy-discovery-tools branch from cf98e76 to 925b8d6 Compare June 12, 2026 09:50
@Shashankss1205

Copy link
Copy Markdown
Collaborator Author

Heyy @fkiraly can you please check the latest state of this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Phase 1: Discovery & Registry Tools

3 participants